package com.fj.service;

import com.fj.entity.BackendUser;
import org.apache.ibatis.annotations.Param;

public interface BackendUserService{


    int deleteByPrimaryKey(Long id);

    int insert(BackendUser record);

    int insertSelective(BackendUser record);

    BackendUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BackendUser record);

    int updateByPrimaryKey(BackendUser record);

    /**
     * 登录
     * @param userCode
     * @return
     */
    BackendUser login(String userCode);
}
